Personal tools

Lua/Shared/Vector2/Constructor

From JC2-MP Documentation

< Lua‎ | Shared‎ | Vector2
Jump to: navigation, search

Returns    Vector2
Prototype    Vector2(number x, number y)
Description    Constructs a new vector with the given values.



Returns    Vector2
Prototype    Vector2()
Description    Constructs a new zero vector.